import React from 'react';
import '../../styles/Issue/issue.scss'

/**
 * 发布
 */
const Issue = (props) => {
  return (
    <div className='issue'>
      <div className="news-header">
        <h2>发布</h2>
      </div>
      <div className="issue-content">
        <ul className="issue-option">
          <li className='qiuzu' onClick={()=>{
            console.log(props);
            document.querySelector('footer').style.display='none'
            props.history.push({pathname:'/fillInformation_demand',state:{i:'求租'}})
          }}>
            <span className='iconfont'>&#xe958;</span>
            <b>我要求租</b>
          </li>
          <li className='chuzu' onClick={()=>{
            
            props.history.push({pathname:'/Map',state:{i:'map'}})
          }}>
            <span className='iconfont'>&#xe691;</span>
            <b>我要出租</b>
          </li>
        </ul>
      </div>
      
      
    </div>
  );
}

export default Issue;
